package com.tinno.chargelauncher.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

import com.tinno.chargelauncher.application.ChargeLauncherApplication;
import com.tinno.chargelauncher.service.ChargeListenerService;


/**
 * 开机广播
 */
public class ChargeBootReceiver extends BroadcastReceiver {

	private static final String TAG = ChargeBootReceiver.class.getSimpleName();

	@Override
	public void onReceive(Context context, Intent intent) {
		Log.d(TAG, "onReceive receives intent: " + intent);
		ChargeLauncherApplication.bindService(context);
	}
}
